package cn.school.Entity;

public class Admin {
    //实体类文件夹
    private long id;
    private String password,username,tele;
    private int role;
    public Admin() {
    }
    public Admin( String username, String tele,String password,int role) {
        this.id = id;
        this.password = password;
        this.username = username;
        this.tele = tele;
        this.role = role;
    }
    public Admin( long id,String username, String tele,String password,int role) {
        this.id = id;
        this.password = password;
        this.username = username;
        this.tele = tele;
        this.role = role;
    }

    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getTele() {
        return tele;
    }

    public void setTele(String tele) {
        this.tele = tele;
    }

    public int getRole() {
        return role;
    }

    public void setRole(int role) {
        this.role = role;
    }
}
